package com.ctjsoft.fileupload.server.impl;

import com.ctjsoft.fileupload.entity.TBucketServer;
import com.ctjsoft.fileupload.entity.TMinioServer;
import com.ctjsoft.fileupload.mapper.TBucketserverMapper;
import com.ctjsoft.fileupload.server.TBucketServerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TBucketServerServiceImpl implements TBucketServerService {

    @Autowired
    TBucketserverMapper tBucketserverMapper;

    @Override
    public List<TBucketServer> getBucketList() {
        return null;
    }

    @Override
    public int addBucket(TBucketServer tBucketServer) {
        return 0;
    }

    @Override
    public int updateBucket(TBucketServer tBucketServer) {
        return 0;
    }

    @Override
    public int deleteBucket(String id) {
        return 0;
    }

    @Override
    public TBucketServer getBucketById(String id) {
        return null;
    }

    @Override
    public TBucketServer getBucketByName(String serverName) {
        return tBucketserverMapper.getBucketByName(serverName);
    }
}
